package cn.fu.util;

/**
 * 
 * @ClassName: Const
 * @Description: 常量类
 * @author zhangxiaofu
 * @date 2016年5月15日 上午11:06:37
 *
 */
public class Const {
	public static final String TOKEN = "99fu";// 微信Token
	
//	public static final String REPLY_TYPE="robot";//消息回复方式，robot为图灵机器人  其它任意为 自定义
	public static final String REPLY_TYPE="自定义消息回复";

	//robot 图灵API
	public static final String API_KEY = "1b21b3aefd00fce9ad04a54e1f770680";
	public static final String API_ADDRESS="http://www.tuling123.com/openapi/api";//API地址
	
	//消息
	public static final String REQUEST_EXCEPTION = "请求处理异常，请稍候尝试!";//文本
	public static final String TEXTMESSAGE_ERRO  ="服务号暂时无法回复，请稍后再试!";
	public static final String WELCOME_FOLLOW="欢迎您关注99fu!";
	
	
	
	public static final String APPID = "wxedeae72bd48e6eca";
	public static final String APPSECRET = "6dcd2cb4b5537d86872d6d59a93cbc2d";
	
	public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	
	public static final String UPLOAD_URL = "https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE";
	
	public static final String CREATE_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
	
	public static final String QUERY_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/get?access_token=ACCESS_TOKEN";
	
	public static final String DELETE_MENU_URL = "https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=ACCESS_TOKEN";
	
	//---------消息类型-----------
	
    public static final String RESP_MESSAGE_TYPE_TEXT = "text";  //返回消息类型：文本 
  
    public static final String RESP_MESSAGE_TYPE_MUSIC = "music";  //返回消息类型：音乐 
  
    public static final String RESP_MESSAGE_TYPE_NEWS = "news";  //返回消息类型：图文 
  
    public static final String REQ_MESSAGE_TYPE_TEXT = "text";  //请求消息类型：文本
  
    public static final String REQ_MESSAGE_TYPE_IMAGE = "image";  //请求消息类型：图片 
  
    public static final String REQ_MESSAGE_TYPE_LINK = "link";  //请求消息类型：链接
  
    public static final String REQ_MESSAGE_TYPE_LOCATION = "location"; //请求消息类型：地理位置 
  
    public static final String REQ_MESSAGE_TYPE_VOICE = "voice"; //请求消息类型：音频  
    
    public static final String REQ_MESSAGE_TYPE_VIDEO = "video";//
  
    public static final String REQ_MESSAGE_TYPE_EVENT = "event";  //请求消息类型：事件推送 
  
    public static final String EVENT_TYPE_SUBSCRIBE = "subscribe";  //事件类型：subscribe(订阅) 
  
    public static final String EVENT_TYPE_UNSUBSCRIBE = "unsubscribe"; //事件类型：unsubscribe(取消订阅)  
  
    public static final String EVENT_TYPE_CLICK = "CLICK"; //事件类型：CLICK(自定义菜单点击事件) 
	
	public static final String REQ_MESSAGE_TYPE_VIEW="VIEW";//
	/*public static final String MESSAGE_IMAGE = "image";
//	public static final String MESSAGE_NEWS = "news";
	public static final String MESSAGE_VOICE = "voice";
	public static final String MESSAGE_MUSIC = "music";
	public static final String MESSAGE_VIDEO = "video";
	public static final String MESSAGE_LINK = "link";
	public static final String MESSAGE_LOCATION = "location";
	public static final String MESSAGE_EVNET = "event";
	public static final String MESSAGE_SUBSCRIBE = "subscribe";
	public static final String MESSAGE_UNSUBSCRIBE = "unsubscribe";
	public static final String MESSAGE_CLICK = "CLICK";
	public static final String MESSAGE_VIEW = "VIEW";
	public static final String MESSAGE_SCANCODE = "scancode_push";*/
}
